<?php

global $context;

get_header();

// following is to prevent mystery "more" suppression
if(isset($more)) {
    unset($more);
}

echo "<div class='oneb-contents'>\n";

echo "
    <div id='oneb-left-bar' class='oneb-left-bar'> <ul> ";
        dynamic_sidebar('oneb-left-bar') ;
    echo " </ul> </div>\n"; 

    echo "<div id='oneb-posts' class='oneb-posts'> ";

    query_posts(array('posts_per_page' => '5', 
                      'cat' => '48'));

    if( have_posts() ) {
        while( have_posts() ) {

            the_post();

          echo "
          <h1><a href='{$post->post_name}' rel='bookmark'>{$post->post_title}</a></h1>\n";
          the_content(' ... Read the rest of this entry.' ); 
          wp_link_pages(array('before' => '<p><strong>Pages:</strong> ',
                              'after' => '</p>',
                              'next_or_number' => 'number')); ?>
           <div class='postmeta'>
           <p><?php comments_popup_link('No Comments', '1 Comment', '% Comments');?></p>
            <p>Posted: <?php the_time('F j, Y'); ?> at <?php the_time('g:i a'); ?>,
            by <?php the_author(); ?> (<?php the_author_meta("email"); ?>)</p>
            </div><!-- end #postmeta -->
            <?php comments_template();
            echo "<hr/>";
        }
    }

    echo "</div>  <!-- oneb-posts -->\n";


    echo "<div id='oneb-right-bar' class='oneb-right-bar'> <ul>\n";
    dynamic_sidebar('oneb-right-bar') ;
    echo " </ul> 
    </div> <!-- posts -->\n"; 

echo "</div> <!-- oneb-contents -->\n";
    echo "
        </div><!-- end #container -->
    </body>
</html>";
            
// echo "<div class='page_name'>page.php</div>";

// get_footer();
// print_r("page.php");
?>
